/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.common.schedule.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.vivo.common.schedule.entity.SysScheduleJob;
import com.vivo.common.schedule.dao.SysScheduleJobDao;

/**
 * 定时任务Service
 * @author jyangye
 * @version 2017-10-27
 */
@Service
@Transactional(readOnly = true)
public class SysScheduleJobService extends CrudService<SysScheduleJobDao, SysScheduleJob> {

	public SysScheduleJob get(String id) {
		return super.get(id);
	}
	
	public List<SysScheduleJob> findList(SysScheduleJob sysScheduleJob) {
		return super.findList(sysScheduleJob);
	}
	
	public Page<SysScheduleJob> findPage(Page<SysScheduleJob> page, SysScheduleJob sysScheduleJob) {
		return super.findPage(page, sysScheduleJob);
	}
	
	@Transactional(readOnly = false)
	public void save(SysScheduleJob sysScheduleJob) {
		super.save(sysScheduleJob);
	}
	
	@Transactional(readOnly = false)
	public void delete(SysScheduleJob sysScheduleJob) {
		super.delete(sysScheduleJob);
	}
	
}